FROM ubuntu

MAINTAINER sl

COPY jdk-10.0.2 jdk-10.0.2

ADD ftest-0.0.1-SNAPSHOT.jar ~/app.jar

ENV JAVA_HOME=/jdk-10.0.2
ENV PATH=$JAVA_HOME/bin:$PATH
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar


EXPOSE 8008

ENTRYPOINT ["java","-jar","~/app.jar"]
